package com.ProxyFactoryBean_;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class PFBeanMain {
    public static void main(String[] args) {
        ApplicationContext applicationContext =
                new ClassPathXmlApplicationContext("spring_cfg_PFBean.xml");
        Building building = (Building) applicationContext.getBean("building");
        building.test();
    }
}
